{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Dialog/index.tsx\",\n  _s = $RefreshSig$();\nimport React from 'react';\nimport { DropDownMenu, Modal, Name, UserStatus } from \"../\";\nimport { DialogInput } from \"../../containers\";\nimport { Context } from \"../../index\";\nimport { Messages } from \"../../containers\";\nimport { observer } from \"mobx-react-lite\";\nimport { isOwnerMultiChat, getCurrentMembership } from \"../../utils/Membership\";\nimport { getOtherUserForNotMultiChat } from \"../../utils/Membership\";\nimport './Dialog.scss';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nconst Dialog = () => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  const [chat, setChat] = React.useState();\n  const [otherUser, setOtherUser] = React.useState();\n  const [showModalOnDeleteDialog, setShowModalOnDeleteDialog] = React.useState(false);\n  const [showModalOnExitMembership, setShowModalOnExitMembership] = React.useState(false);\n  React.useEffect(() => {\n    if (store.currentDialog && !store.currentDialog.multiChat && store.currentDialog.membership && store.currentDialog.membership.items.length > 0) {\n      setOtherUser(getOtherUserForNotMultiChat(store, store.currentDialog.membership));\n    }\n    if (store.currentDialog.id) {\n      setChat({\n        ...chat,\n        ...store.currentDialog\n      });\n    }\n    // eslint-disable-next-line react-hooks/exhaustive-deps\n  }, [store.currentDialog]);\n  if (store.getViewedDialogId()) {\n    var _store$currentDialog$, _store$currentDialog$2;\n    return /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"messenger__dialog\",\n      children: [/*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__dialog-header\",\n        children: [/*#__PURE__*/_jsxDEV(\"div\", {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 45,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"messenger__dialog-header-info\",\n          children: [/*#__PURE__*/_jsxDEV(\"p\", {\n            className: \"messenger__dialog-header-name\",\n            children: /*#__PURE__*/_jsxDEV(Name, {\n              user: otherUser,\n              chatName: store.currentDialog.name,\n              multiChat: store.currentDialog.multiChat\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 48,\n              columnNumber: 29\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 47,\n            columnNumber: 25\n          }, this), !store.getCurrentDialog().multiChat && /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"messenger__dialog-header-status\",\n            children: /*#__PURE__*/_jsxDEV(UserStatus, {\n              status: true\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 52,\n              columnNumber: 37\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 51,\n            columnNumber: 33\n          }, this) || /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"messenger__dialog-header-countMemberships\",\n            children: ((_store$currentDialog$ = store.currentDialog.membership) === null || _store$currentDialog$ === void 0 ? void 0 : _store$currentDialog$.items) && /*#__PURE__*/_jsxDEV(\"span\", {\n              children: `Участников в диалоге: ${Object.keys((_store$currentDialog$2 = store.currentDialog.membership) === null || _store$currentDialog$2 === void 0 ? void 0 : _store$currentDialog$2.items).length}`\n            }, void 0, false, {\n              fileName: _jsxFileName,\n              lineNumber: 57,\n              columnNumber: 37\n            }, this)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 55,\n            columnNumber: 29\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 46,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(DropDownMenu, {\n          children: /*#__PURE__*/_jsxDEV(\"div\", {\n            className: \"messenger__dialog-control\",\n            children: [(!(chat !== null && chat !== void 0 && chat.multiChat) || chat.multiChat && chat.membership && isOwnerMultiChat(chat.membership, store.getProfile())) && /*#__PURE__*/_jsxDEV(_Fragment, {\n              children: [/*#__PURE__*/_jsxDEV(\"button\", {\n                className: \"messenger__dialog-control-delete\",\n                onClick: () => setShowModalOnDeleteDialog(true),\n                children: \"\\u0423\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u0434\\u0438\\u0430\\u043B\\u043E\\u0433\"\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 68,\n                columnNumber: 37\n              }, this), /*#__PURE__*/_jsxDEV(Modal, {\n                active: showModalOnDeleteDialog,\n                title: \"Удаление диалога\",\n                hasFunctionButtons: true,\n                onSubmit: () => {\n                  chat && store.deleteChatFromAPI(chat).then(() => setShowModalOnDeleteDialog(false));\n                },\n                onClose: () => setShowModalOnDeleteDialog(false),\n                customClassNameButtonSecond: \"messenger__sidebar-profileControl-deleteProfile\",\n                children: /*#__PURE__*/_jsxDEV(\"div\", {\n                  children: \"\\u0412\\u044B \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E \\u0445\\u043E\\u0442\\u0438\\u0442\\u0435 \\u0431\\u0435\\u0437\\u0432\\u043E\\u0437\\u0432\\u0440\\u0430\\u0442\\u043D\\u043E \\u0443\\u0434\\u0430\\u043B\\u0438\\u0442\\u044C \\u0434\\u0438\\u0430\\u043B\\u043E\\u0433 \\u0434\\u043B\\u044F \\u0432\\u0441\\u0435\\u0445 \\u0443\\u0447\\u0430\\u0441\\u0442\\u043D\\u0438\\u043A\\u043E\\u0432?\"\n                }, void 0, false, {\n                  fileName: _jsxFileName,\n                  lineNumber: 84,\n                  columnNumber: 41\n                }, this)\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 72,\n                columnNumber: 37\n              }, this)]\n            }, void 0, true), (chat === null || chat === void 0 ? void 0 : chat.multiChat) && /*#__PURE__*/_jsxDEV(_Fragment, {\n              children: [/*#__PURE__*/_jsxDEV(\"button\", {\n                className: \"messenger__dialog-control-delete\",\n                onClick: () => setShowModalOnExitMembership(true),\n                children: \"\\u041F\\u043E\\u043A\\u0438\\u043D\\u0443\\u0442\\u044C \\u0434\\u0438\\u0430\\u043B\\u043E\\u0433\"\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 90,\n                columnNumber: 37\n              }, this), /*#__PURE__*/_jsxDEV(Modal, {\n                active: showModalOnDeleteDialog,\n                title: \"Выход из диалога\",\n                hasFunctionButtons: true,\n                onSubmit: () => {\n                  var _chat$membership;\n                  chat && ((_chat$membership = chat.membership) === null || _chat$membership === void 0 ? void 0 : _chat$membership.items) && getCurrentMembership(chat.membership, store.getProfile()).id && store.deleteMembershipFromAPI(chat, getCurrentMembership(chat.membership, store.getProfile()).id).then(() => setShowModalOnExitMembership(false));\n                },\n                onClose: () => setShowModalOnExitMembership(false),\n                customClassNameButtonSecond: \"messenger__sidebar-profileControl-deleteProfile\",\n                children: /*#__PURE__*/_jsxDEV(\"div\", {\n                  children: \"\\u0412\\u044B \\u0434\\u0435\\u0439\\u0441\\u0442\\u0432\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E \\u0445\\u043E\\u0442\\u0438\\u0442\\u0435 \\u043F\\u043E\\u043A\\u0438\\u043D\\u0443\\u0442\\u044C \\u0434\\u0438\\u0430\\u043B\\u043E\\u0433?\"\n                }, void 0, false, {\n                  fileName: _jsxFileName,\n                  lineNumber: 107,\n                  columnNumber: 41\n                }, this)\n              }, void 0, false, {\n                fileName: _jsxFileName,\n                lineNumber: 94,\n                columnNumber: 37\n              }, this)]\n            }, void 0, true)]\n          }, void 0, true, {\n            fileName: _jsxFileName,\n            lineNumber: 65,\n            columnNumber: 25\n          }, this)\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 64,\n          columnNumber: 21\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 44,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__dialog-messages\",\n        children: /*#__PURE__*/_jsxDEV(Messages, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 115,\n          columnNumber: 21\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 114,\n        columnNumber: 17\n      }, this), chat && /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__dialog-input\",\n        children: /*#__PURE__*/_jsxDEV(DialogInput, {\n          chat: chat\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 119,\n          columnNumber: 25\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 118,\n        columnNumber: 21\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 43,\n      columnNumber: 13\n    }, this);\n  } else {\n    return /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"messenger__dialog\",\n      children: /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"messenger__dialog-messages\",\n        children: /*#__PURE__*/_jsxDEV(Messages, {}, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 128,\n          columnNumber: 21\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 127,\n        columnNumber: 17\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 126,\n      columnNumber: 13\n    }, this);\n  }\n};\n_s(Dialog, \"6yUfui0+7nZOTpEwyl+m0OsxR1E=\");\n_c = Dialog;\nexport default _c2 = observer(Dialog);\nvar _c, _c2;\n$RefreshReg$(_c, \"Dialog\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","DropDownMenu","Modal","Name","UserStatus","DialogInput","Context","Messages","observer","isOwnerMultiChat","getCurrentMembership","getOtherUserForNotMultiChat","Dialog","store","useContext","chat","setChat","useState","otherUser","setOtherUser","showModalOnDeleteDialog","setShowModalOnDeleteDialog","showModalOnExitMembership","setShowModalOnExitMembership","useEffect","currentDialog","multiChat","membership","items","length","id","getViewedDialogId","name","getCurrentDialog","Object","keys","getProfile","deleteChatFromAPI","then","deleteMembershipFromAPI"],"sources":["/data/messenger.client/src/components/Dialog/index.tsx"],"sourcesContent":["import React from 'react';\nimport {DropDownMenu, Modal, Name, UserStatus} from \"../\";\nimport {DialogInput} from \"../../containers\";\nimport {Context} from \"../../index\";\nimport {Messages} from \"../../containers\";\nimport {observer} from \"mobx-react-lite\";\nimport {isOwnerMultiChat, getCurrentMembership} from \"../../utils/Membership\";\nimport {UserListItem} from \"../../models/response/UserListItem\";\nimport {getOtherUserForNotMultiChat} from \"../../utils/Membership\";\nimport {ChatsListItem} from \"../../models/response/ChatsListItem\";\nimport './Dialog.scss';\n\nconst Dialog = () => {\n    const {store} = React.useContext(Context);\n    const [chat, setChat] = React.useState<ChatsListItem>();\n    const [otherUser, setOtherUser] = React.useState<UserListItem>();\n    const [showModalOnDeleteDialog, setShowModalOnDeleteDialog] = React.useState<boolean>(false);\n    const [showModalOnExitMembership, setShowModalOnExitMembership] = React.useState<boolean>(false);\n\n    React.useEffect(() => {\n\n        if (store.currentDialog! &&\n            !store.currentDialog.multiChat &&\n            store.currentDialog.membership &&\n            store.currentDialog.membership.items.length > 0\n        ) {\n            setOtherUser(\n                getOtherUserForNotMultiChat(store, store.currentDialog.membership)\n            );\n        }\n\n        if (store.currentDialog.id) {\n            setChat({\n                ...chat,\n                ...store.currentDialog\n            });\n        }\n        // eslint-disable-next-line react-hooks/exhaustive-deps\n    }, [store.currentDialog]);\n\n    if (store.getViewedDialogId()!) {\n        return (\n            <div className=\"messenger__dialog\">\n                <div className=\"messenger__dialog-header\">\n                    <div/>\n                    <div className=\"messenger__dialog-header-info\">\n                        <p className=\"messenger__dialog-header-name\">\n                            <Name user={otherUser} chatName={store.currentDialog.name} multiChat={store.currentDialog.multiChat} />\n                        </p>\n                        {(!store.getCurrentDialog().multiChat &&\n                                <div className=\"messenger__dialog-header-status\">\n                                    <UserStatus status={true} />\n                                </div>\n                            ) ||\n                            <div className=\"messenger__dialog-header-countMemberships\">\n                                {store.currentDialog.membership?.items &&\n                                    <span>\n                                    {`Участников в диалоге: ${Object.keys(store.currentDialog.membership?.items).length}`}\n                                </span>\n                                }\n                            </div>\n                        }\n                    </div>\n                    <DropDownMenu children={\n                        <div className=\"messenger__dialog-control\">\n                            {(!chat?.multiChat || (chat.multiChat && chat.membership && isOwnerMultiChat(chat.membership, store.getProfile()))) &&\n                                <>\n                                    <button\n                                        className=\"messenger__dialog-control-delete\"\n                                        onClick={() => setShowModalOnDeleteDialog(true)}\n                                    >Удалить диалог</button>\n                                    <Modal\n                                        active={showModalOnDeleteDialog}\n                                        title={\"Удаление диалога\"}\n                                        hasFunctionButtons={true}\n                                        onSubmit={() => {\n                                            chat && store.deleteChatFromAPI(chat).then(() =>\n                                                setShowModalOnDeleteDialog(false)\n                                            );\n                                        }}\n                                        onClose={() => setShowModalOnDeleteDialog(false)}\n                                        customClassNameButtonSecond={\"messenger__sidebar-profileControl-deleteProfile\"}\n                                    >\n                                        <div>Вы действительно хотите безвозвратно удалить диалог для всех участников?</div>\n                                    </Modal>\n                                </>\n                            }\n                            {chat?.multiChat &&\n                                <>\n                                    <button\n                                        className=\"messenger__dialog-control-delete\"\n                                        onClick={() => setShowModalOnExitMembership(true)}\n                                    >Покинуть диалог</button>\n                                    <Modal\n                                        active={showModalOnDeleteDialog}\n                                        title={\"Выход из диалога\"}\n                                        hasFunctionButtons={true}\n                                        onSubmit={() => {\n                                            chat && chat.membership?.items && getCurrentMembership(chat.membership, store.getProfile()).id &&\n                                            store.deleteMembershipFromAPI(chat, getCurrentMembership(chat.membership, store.getProfile()).id).then(() =>\n                                                setShowModalOnExitMembership(false)\n                                            );\n                                        }}\n                                        onClose={() => setShowModalOnExitMembership(false)}\n                                        customClassNameButtonSecond={\"messenger__sidebar-profileControl-deleteProfile\"}\n                                    >\n                                        <div>Вы действительно хотите покинуть диалог?</div>\n                                    </Modal>\n                                </>\n                            }\n                        </div>\n                    } />\n                </div>\n                <div className=\"messenger__dialog-messages\">\n                    <Messages />\n                </div>\n                {chat &&\n                    <div className=\"messenger__dialog-input\">\n                        <DialogInput chat={chat} />\n                    </div>\n                }\n            </div>\n        );\n    } else {\n        return (\n            <div className=\"messenger__dialog\">\n                <div className=\"messenger__dialog-messages\">\n                    <Messages />\n                </div>\n            </div>\n        );\n    }\n}\n\nexport default observer(Dialog);"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,YAAY,EAAEC,KAAK,EAAEC,IAAI,EAAEC,UAAU,QAAO,KAAK;AACzD,SAAQC,WAAW,QAAO,kBAAkB;AAC5C,SAAQC,OAAO,QAAO,aAAa;AACnC,SAAQC,QAAQ,QAAO,kBAAkB;AACzC,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,SAAQC,gBAAgB,EAAEC,oBAAoB,QAAO,wBAAwB;AAE7E,SAAQC,2BAA2B,QAAO,wBAAwB;AAElE,OAAO,eAAe;AAAC;AAAA;AAEvB,MAAMC,MAAM,GAAG,MAAM;EAAA;EACjB,MAAM;IAACC;EAAK,CAAC,GAAGb,KAAK,CAACc,UAAU,CAACR,OAAO,CAAC;EACzC,MAAM,CAACS,IAAI,EAAEC,OAAO,CAAC,GAAGhB,KAAK,CAACiB,QAAQ,EAAiB;EACvD,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGnB,KAAK,CAACiB,QAAQ,EAAgB;EAChE,MAAM,CAACG,uBAAuB,EAAEC,0BAA0B,CAAC,GAAGrB,KAAK,CAACiB,QAAQ,CAAU,KAAK,CAAC;EAC5F,MAAM,CAACK,yBAAyB,EAAEC,4BAA4B,CAAC,GAAGvB,KAAK,CAACiB,QAAQ,CAAU,KAAK,CAAC;EAEhGjB,KAAK,CAACwB,SAAS,CAAC,MAAM;IAElB,IAAIX,KAAK,CAACY,aAAa,IACnB,CAACZ,KAAK,CAACY,aAAa,CAACC,SAAS,IAC9Bb,KAAK,CAACY,aAAa,CAACE,UAAU,IAC9Bd,KAAK,CAACY,aAAa,CAACE,UAAU,CAACC,KAAK,CAACC,MAAM,GAAG,CAAC,EACjD;MACEV,YAAY,CACRR,2BAA2B,CAACE,KAAK,EAAEA,KAAK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